package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum PayMethod {
    unknown(0, "未知的"),
    cash(1, "现金支付"),
    online(2, "在线支付"),
    wxapp(3, "微信APP"),
    wechat(4, "微信支付"),
    alipay(5, "支付宝支付"),
    saving(6, "储蓄卡支付"),
    redpacket(7, "红包支付"),
    jybwxapp(8, "jybwxapp"),
    point(9, "point"),
    mixed(10, "混合支付");


    @EnumValue
    private final int code;
    private final String desc;

    PayMethod(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
